<?php

use App\Models\ChargeRecord;
use Illuminate\Database\Seeder;

class ChargeRecordTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        ChargeRecord::create([
        	'order_number' => '20116029131312',
        	'admin_id' => 1,
        	"device_id" => 3,
        	'flow' => 30,
        	'residual_flow' => 530,
        	'status' => 1,
            'remark' => 'remark',
        	]);

        ChargeRecord::create([
        	'order_number' => '20116029131313',
        	'admin_id' => 1,
        	"device_id" => 3,
        	'flow' => 30,
        	'residual_flow' => 560,
        	'status' => 2,
            'remark' => 'remark',
        	]);

        ChargeRecord::create([
        	'order_number' => '20116029131315',
        	'user_id' => 2,
        	"device_id" => 3,
        	'money' => 100,
        	'open_id' => 'asdf1313',
        	'flow' => 200,
        	'residual_flow' => 590,
        	'status' => 1,
            'remark' => 'remark',
        	]);

        ChargeRecord::create([
        	'order_number' => '20116029131318',
        	'user_id' => 2,
        	"device_id" => 3,
        	'money' => 100,
        	'open_id' => 'asdf1313',
        	'flow' => 200,
        	'residual_flow' =>590 ,
        	'status' => 2,
            'remark' => 'remark',
        	]);
    }
}
